var router = new VueRouter({
	routes: [
		{path: '/', name: 'index',component: resolve => require(['./components/main.vue'], resolve), children:[
			{path: '', name: 'miniNav', component: resolve => require(['./components/miniNav.vue'], resolve)},
			{path: '', name: 'production', component: resolve => require(['./components/production.vue'], resolve)}
		]},
		{path: '/goodsList', name: 'goodsList', component: resolve => require(['./components/goodsList.vue'], resolve),
			children: [{path: '', name: 'miniNav', component: resolve => require(['./components/miniNav.vue'], resolve)}]},
		// {path: '/login', component: resolve => require(['./components/login.vue'], resolve)},
		// {path: '/room', component: resolve => require(['./components/room.vue'], resolve)}
		{path: '/product_info', component: resolve => require(['./components/product_info.vue'], resolve)}
			]
	// linkActiveClass: 'mui-active'
});

export default router;